package com.alibaba.dubbo.governance.service;

import java.util.List;

/**
 * @author xuchangyue
 */
public interface ZookeeperService {

    public void update(String path);

    public void create(String path);

    public void create(String path, boolean ephemeral);

    public void createPersistent(String path);

    public void createEphemeral(String path);

    public void deleteRecursive(String path);

    public void delete(String path);

    public List<String> getChildren(String path);

    public boolean exists(String path);

    public String getZkAddress();
}
